home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3rmpsig.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.5 KB  |  65 lines

  1.  
  2. // JavaScript wrapper for r3rmpsig.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_RENDERMATPROPSIGTRAP_H = 1;
  7. include("real/raytr/r3rmpbm.js")
  8.  
  9.  
  10. var R3CLID_RMPSIGNALTRAP = 1556;
  11.  
  12.  
  13.  
  14.  
  15. R3RMPSIA_Width = 1556500;
  16. function SetR3RMPSIA_Width(value) {
  17.   R3Set(this.r3obj, R3RMPSIA_Width, value, R3TID_INTEGER, 0); 
  18. }
  19.  
  20. function GetR3RMPSIA_Width() {
  21.   return R3Get(this.r3obj, R3RMPSIA_Width, R3TID_INTEGER, 0); 
  22. }
  23.  
  24. R3RMPSIA_Height = 1556501;
  25. function SetR3RMPSIA_Height(value) {
  26.   R3Set(this.r3obj, R3RMPSIA_Height, value, R3TID_INTEGER, 0); 
  27. }
  28.  
  29. function GetR3RMPSIA_Height() {
  30.   return R3Get(this.r3obj, R3RMPSIA_Height, R3TID_INTEGER, 0); 
  31. }
  32.  
  33. R3RMPSIA_RGB = 1556502;
  34. function SetR3RMPSIA_RGB(value) {
  35.   R3Set(this.r3obj, R3RMPSIA_RGB, value, R3TID_OBJECT, 0); 
  36. }
  37.  
  38. function GetR3RMPSIA_RGB() {
  39.   return R3ToJS(R3Get(this.r3obj, R3RMPSIA_RGB, R3TID_OBJECT, 0)); 
  40. }
  41.  
  42. R3RMPSIA_Capture = 1556503;
  43. function SetR3RMPSIA_Capture(value) {
  44.   R3Set(this.r3obj, R3RMPSIA_Capture, value, R3TID_BOOLEAN, 0); 
  45. }
  46.  
  47.  
  48.  
  49. function r3Rmpsignaltrap () { 
  50.    this.base = r3God;
  51.    if(arguments.length) {
  52.       this.base(R3CLID_RMPSIGNALTRAP, arguments);
  53.    }
  54.    // Attributes
  55.    this.GetWidth=GetR3RMPSIA_Width;
  56.    this.SetWidth=SetR3RMPSIA_Width;
  57.    this.GetHeight=GetR3RMPSIA_Height;
  58.    this.SetHeight=SetR3RMPSIA_Height;
  59.    this.GetRGB=GetR3RMPSIA_RGB;
  60.    this.SetRGB=SetR3RMPSIA_RGB;
  61.    this.SetCapture=SetR3RMPSIA_Capture;
  62. }
  63.  
  64. r3Rmpsignaltrap.prototype=new r3Rmpbitmap;
  65. // r3rmpsig.h_H